module.exports = {
    "GET_ACCESS_TOKEN": {
        url: "https://api.weixin.qq.com/sns/oauth2/access_token",
        method:"get",
        staticParams: ["appid", "secret"],
        otherParams: ["code"],
        fixedParams: {"grant_type": "authorization_code"}
    },
    "REFRESH_ACCESS_TOKEN": {
        url: "https://api.weixin.qq.com/sns/oauth2/refresh_token",
        method:"get",
        staticParams: ["appid"],
        otherParams: ["refresh_token"],
        fixedParams: {"grant_type": "refresh_token"}
    },
    "GET_USER_INFO": {
        url: "https://api.weixin.qq.com/sns/userinfo",
        method:"get",
        staticParams: [],
        otherParams: ["access_token","openid"],
        fixedParams: {"lang": "zh_CN"}
    }
};
